package vip.finance.makemoney.service;

import com.baomidou.mybatisplus.extension.service.IService;
import vip.finance.makemoney.common.vo.StockRealTimeRes;
import vip.finance.makemoney.entity.UserStock;

import java.util.List;

/**
 * <p>
 * 自选股 服务类
 * </p>
 *
 * @author yangbin
 * @since 2023-02-03
 */
public interface IUserStockService extends IService<UserStock> {
    List<StockRealTimeRes> listRealTime(Integer userId);

    void addUserStock(Integer userId, String stockCode);

    List<String> getAllUserStockCodes(String market);

    void updateUserStocks(Integer userId, List<StockRealTimeRes> realTimeResList);

}
